package xyz.mumu233.muxinnetty.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "chat_msg")
public class ChatMsg {

    @Id
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Column(name = "send_user_id")
    private String sendUserId;

    @Column(name = "accept_user_id")
    private String acceptUserId;

    private String msg;

    @Column(name = "sign_flag")
    private Integer signFlag;

    @Column(name = "create_time")
    private Date createTime;
}